import 'package:flutter/material.dart';

class RegisterSecondPage extends StatefulWidget {
  RegisterSecondPage({Key key}) : super(key: key);

  @override
  _RegisterSecondPageState createState() => _RegisterSecondPageState();
}

class _RegisterSecondPageState extends State<RegisterSecondPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("注册页面2222"),
      ),
      body: Column(
        children: <Widget>[
          Text("我是注册页面2222"),
          RaisedButton(
            child: Text("下一步"),
            onPressed: () {
              Navigator.of(context).pushReplacementNamed('/registerThird');
            },
          )
        ],
      )
    );  
  }
}